<?php
/**
 * This file is part of the Pagizer package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @copyright   Copyright (c) 2010 Advisa (http://www.advisa.fr)
 * @author      Pagizer Core Team <team@pagizer.org>
 * @package     pagizer
 * @subpackage  medias
 */

/**
 * Else condition for hasDocRight
 *
 * SEE function.hasDocRight.php
 *
 * @example : {hasDocRight document=$media module='media' rule='show'}right ok{hasRightElse}not right{/hasDocRight}
 */
function smarty_function_hasDocRightElse($params, &$smarty)
{
    return $smarty->left_delimiter . 'hasDocRightElse' . $smarty->right_delimiter;
}
